package com.xubeizhi.service;

import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.dto.LoginDTO;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
 * @author mi
 * @create 2023/4/6 20:54
 */
public interface LoginService {
    Map<String, String> getCode(HttpServletResponse response) throws IOException;


    ResponseResult login(LoginDTO dto);
}
